<?php


namespace app\common\model\xiluedu;


use think\Model;

class OrderDivide extends Model
{
    protected $name = 'xiluedu_order_divide';


    protected $autoWriteTimestamp = 'int';

    protected $createTime = 'createtime';
    protected $updateTime = false;



    public static function checkExist($order_id,$type){
        return self::where('order_id',$order_id)->where('type',$type)->find();
    }

}